<?php
/**
 * Created by PhpStorm.
 * User: zhangrxiang
 * Date: 2016/12/5
 * Time: 11:24
 */

include_once "IDCode.class.php";
$test_ids = array(1,9,10,99,100,999,1000,1009,2099,3999,9999,14999,99999);

foreach($test_ids as $test_id){
	echo $test_id.' = '.IDCode::create($test_id, 3, 'F').PHP_EOL;
}